package com.ysd.twocrm.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.util.Date;

//请假表
@TableName(value = "leavetable")
public class Leavetable {
@TableId(value = "leaveid",type = IdType.AUTO)
    private  Integer leaveId;//主键

    private String lname;//请假人

    private Integer userId;//请假人id

    private String ltype;//请假类型

    private String lcouse;//请假原因

    private Integer lstatus;//请假状态 0：已批准  1：等待批准 2 :没同意请假 3:最终管理员进行审批

    private String lapprover;//批准人

    private String lapprovercourse;//批准信息

    private Date begintime;//开始时间

    private Date endtime;//结束时间

    private Date lsubmit;//提交时间

    private Integer exit1;//备用字段1

    private String exit2;//备用字段2


    public Date getBegintime() {
        return begintime;
    }

    public void setBegintime(Date begintime) {
        this.begintime = begintime;
    }

    public Date getEndtime() {
        return endtime;
    }

    public void setEndtime(Date endtime) {
        this.endtime = endtime;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Leavetable() {
        super();
    }

    public Integer getLeaveId() {
        return leaveId;
    }

    public void setLeaveId(Integer leaveId) {
        this.leaveId = leaveId;
    }

    public String getLname() {
        return lname;
    }

    public void setLname(String lname) {
        this.lname = lname;
    }

    public String getLtype() {
        return ltype;
    }

    public void setLtype(String ltype) {
        this.ltype = ltype;
    }

    public String getLcouse() {
        return lcouse;
    }

    public void setLcouse(String lcouse) {
        this.lcouse = lcouse;
    }

    public Integer getLstatus() {
        return lstatus;
    }

    public void setLstatus(Integer lstatus) {
        this.lstatus = lstatus;
    }

    public String getLapprover() {
        return lapprover;
    }

    public void setLapprover(String lapprover) {
        this.lapprover = lapprover;
    }

    public String getLapprovercourse() {
        return lapprovercourse;
    }

    public void setLapprovercourse(String lapprovercourse) {
        this.lapprovercourse = lapprovercourse;
    }

    public Date getLsubmit() {
        return lsubmit;
    }

    public void setLsubmit(Date lsubmit) {
        this.lsubmit = lsubmit;
    }

    public Leavetable(Integer leaveId, String lname, String ltype, String lcouse, Integer lstatus, String lapprover, String lapprovercourse, Date lsubmit) {
        this.leaveId = leaveId;
        this.lname = lname;
        this.ltype = ltype;
        this.lcouse = lcouse;
        this.lstatus = lstatus;
        this.lapprover = lapprover;
        this.lapprovercourse = lapprovercourse;
        this.lsubmit = lsubmit;
    }
}
